home *** CD-ROM | disk | FTP | other *** search
/ Univers Mac Interactif 42 / Univers Mac Interactif - Issue 42.iso / Hypercard / La pile du mois nº42 / La pile du mois n∫42 / background_2723.xml next >
Extensible Markup Language  |  1994-12-21  |  5KB  |  107 lines

  1. <?xml version="1.0" encoding="utf-8" ?>
  2. <!DOCTYPE background PUBLIC "-//Apple, Inc.//DTD background V 2.0//EN" "" >
  3. <background>
  4.     <id>2723</id>
  5.     <filler1>0</filler1>
  6.     <bitmap>BMAP_2533.pbm</bitmap>
  7.     <cantDelete> <false /> </cantDelete>
  8.     <showPict> <true /> </showPict>
  9.     <dontSearch> <false /> </dontSearch>
  10.     <link rel="stylesheet" type="text/css" href="stylesheet_3174.css" />
  11.     <part>
  12.         <id>1</id>
  13.         <type>button</type>
  14.         <visible> <true /> </visible>
  15.         <reserved5> 0 </reserved5>
  16.         <reserved4> 0 </reserved4>
  17.         <reserved3> 0 </reserved3>
  18.         <reserved2> 0 </reserved2>
  19.         <reserved1> 0 </reserved1>
  20.         <enabled> <true /> </enabled>
  21.         <rect>
  22.             <left>388</left>
  23.             <top>268</top>
  24.             <right>404</right>
  25.             <bottom>304</bottom>
  26.         </rect>
  27.         <style>transparent</style>
  28.         <showName> <false /> </showName>
  29.         <highlight> <false /> </highlight>
  30.         <autoHighlight> <true /> </autoHighlight>
  31.         <sharedHighlight> <true /> </sharedHighlight>
  32.         <family>0</family>
  33.         <titleWidth>0</titleWidth>
  34.         <icon>8979</icon>
  35.         <textAlign>center</textAlign>
  36.         <font>Chicago</font>
  37.         <textSize>12</textSize>
  38.         <textStyle>plain</textStyle>
  39.         <name></name>
  40.         <script>on mouseUpnav next,right -- Voyez le script du fondend mouseUp</script>
  41.     </part>
  42.     <part>
  43.         <id>2</id>
  44.         <type>button</type>
  45.         <visible> <true /> </visible>
  46.         <reserved5> 0 </reserved5>
  47.         <reserved4> 0 </reserved4>
  48.         <reserved3> 0 </reserved3>
  49.         <reserved2> 0 </reserved2>
  50.         <reserved1> 0 </reserved1>
  51.         <enabled> <true /> </enabled>
  52.         <rect>
  53.             <left>372</left>
  54.             <top>268</top>
  55.             <right>387</right>
  56.             <bottom>304</bottom>
  57.         </rect>
  58.         <style>transparent</style>
  59.         <showName> <false /> </showName>
  60.         <highlight> <false /> </highlight>
  61.         <autoHighlight> <true /> </autoHighlight>
  62.         <sharedHighlight> <true /> </sharedHighlight>
  63.         <family>0</family>
  64.         <titleWidth>0</titleWidth>
  65.         <icon>8964</icon>
  66.         <textAlign>center</textAlign>
  67.         <font>Chicago</font>
  68.         <textSize>12</textSize>
  69.         <textStyle>plain</textStyle>
  70.         <name></name>
  71.         <script>on mouseUpnav prev,left -- Voyez le script du fondend mouseUp</script>
  72.     </part>
  73.     <part>
  74.         <id>3</id>
  75.         <type>button</type>
  76.         <visible> <true /> </visible>
  77.         <reserved5> 0 </reserved5>
  78.         <reserved4> 0 </reserved4>
  79.         <reserved3> 0 </reserved3>
  80.         <reserved2> 0 </reserved2>
  81.         <reserved1> 0 </reserved1>
  82.         <enabled> <true /> </enabled>
  83.         <rect>
  84.             <left>194</left>
  85.             <top>274</top>
  86.             <right>362</right>
  87.             <bottom>298</bottom>
  88.         </rect>
  89.         <style>transparent</style>
  90.         <showName> <false /> </showName>
  91.         <highlight> <false /> </highlight>
  92.         <autoHighlight> <false /> </autoHighlight>
  93.         <sharedHighlight> <true /> </sharedHighlight>
  94.         <family>0</family>
  95.         <titleWidth>0</titleWidth>
  96.         <icon>0</icon>
  97.         <textAlign>center</textAlign>
  98.         <font>Chicago</font>
  99.         <textSize>12</textSize>
  100.         <textStyle>plain</textStyle>
  101.         <name></name>
  102.         <script>on mouseUpdoMenu "About HyperCard..."end mouseUp</script>
  103.     </part>
  104.     <name></name>
  105.     <script>on commandKeyDownif (charToNum(param(1)) = 112) thenif (there is a cd fld "Infos") thenhide groupsprint cd fld "Infos"show groupsend ifelse pass commandKeyDownend commandKeyDown------------------------------------------------------------------------on arrowKeyget param(1)if it = right then send mouseUp to bg btn id 1else if it = left then send mouseUp to bg btn id 2end arrowKey------------------------------------------------------------------------on nav direction,waylock screenif there is a cd fld "Infos" then set scroll of cd fld "Infos" to 0do "go"&&directionunlock screen with visual wipe wayend navUn tel handler pourrait √©galement √™tre √©crit de la fa√ßon suivante :on navlock screenif there is a cd fld "Infos" then set scroll of cd fld "Infos" to 0do "go"&&param(1)unlock screen with visual wipe param(2)end nav------------------------------------------------------------------------on closeStacklock screenset the showPict of cd 1 to falserepeat with i = 1 to 5hide cd fld i of cd 1end repeatend closeStack------------------------------------------------------------------------on openStackget the versionif it < 2 thenANSWER "Cette pile ne peut √™tre ouverte avec une version d'HyperCard"¬¨&&"ant√©rieure √† 2.0." with "D√©sol√©"-- voyez le vocabulaire du moisdoMenu "Quit HyperCard"end ifend openStack------------------------------------------------------------------------on doMenuif param(1) = "About HyperCard..." thenwarning true,"About"wait until the mouseClickwarning false,"About"else pass doMenuend doMenu------------------------------------------------------------------------on warning boolean,whichPictif boolean thenpicture whichPict,resource,dialog,false,0,true -- ‚àÜ-- cr√©e la fen√™tre mais ne l'affiche passet the loc of window whichPict to main-- la centre sur l'√©cran affichant la barre des menusshow window whichPict-- la montreelseif there is a window whichPict then close window whichPict-- la ferme si elle existeend ifend warning</script>
  106. </background>
  107.